%global __find_debuginfo_files %nil
%add_debuginfo_skiplist %_prefix/*
%add_verify_elf_skiplist %_prefix/*
%brp_strip_none %_prefix/*
%add_findreq_skiplist %_prefix/*

Name: bash
Version: 4.4.23
Release: alt1

Summary: The GNU Bourne Again SHell (Bash)
License: GPLv3+
Group: Shells

Requires: /lib64/ld-linux-loongarch-lp64d.so.1
Requires: libhistory.so.8(64bit)
Requires: libreadline.so.8(64bit)
Requires: libtinfo.so.6(64bit)
Requires: libc.so.6(GLIBC_2.36)(64bit)

%description
The GNU Bourne Again SHell (Bash)


%package devel
Group: Development/Other
Summary: Bash loadable builtins development files

%description devel
Bash loadable builtins development files

%prep
:

%build

:

%install
mkdir -p %buildroot
cd %clfs_stage && \
echo \
usr/lib64/bash/strftime \
usr/lib64/bash/tee \
usr/lib64/bash/setpgid \
usr/lib64/bash/finfo \
usr/lib64/bash/id \
usr/lib64/bash/logname \
usr/lib64/bash/truefalse \
usr/lib64/bash/mkdir \
usr/lib64/bash/head \
usr/lib64/bash/dirname \
usr/lib64/bash/mypid \
usr/lib64/bash/sync \
usr/lib64/bash/tty \
usr/lib64/bash/uname \
usr/lib64/bash/push \
usr/lib64/bash/realpath \
usr/lib64/bash/ln \
usr/lib64/bash/Makefile.inc \
usr/lib64/bash/whoami \
usr/lib64/bash/print \
usr/lib64/bash/rmdir \
usr/lib64/bash/printenv \
usr/lib64/bash/unlink \
usr/lib64/bash/pathchk \
usr/lib64/bash/sleep \
usr/lib64/bash/basename \
usr/lib64/pkgconfig/bash.pc \
usr/share/locale/eo/LC_MESSAGES/bash4.mo \
usr/share/locale/da/LC_MESSAGES/bash4.mo \
usr/share/locale/et/LC_MESSAGES/bash4.mo \
usr/share/locale/nb/LC_MESSAGES/bash4.mo \
usr/share/locale/vi/LC_MESSAGES/bash4.mo \
usr/share/locale/el/LC_MESSAGES/bash4.mo \
usr/share/locale/id/LC_MESSAGES/bash4.mo \
usr/share/locale/sr/LC_MESSAGES/bash4.mo \
usr/share/locale/ja/LC_MESSAGES/bash4.mo \
usr/share/locale/zh_TW/LC_MESSAGES/bash4.mo \
usr/share/locale/ca/LC_MESSAGES/bash4.mo \
usr/share/locale/sk/LC_MESSAGES/bash4.mo \
usr/share/locale/gl/LC_MESSAGES/bash4.mo \
usr/share/locale/tr/LC_MESSAGES/bash4.mo \
usr/share/locale/it/LC_MESSAGES/bash4.mo \
usr/share/locale/zh_CN/LC_MESSAGES/bash4.mo \
usr/share/locale/af/LC_MESSAGES/bash4.mo \
usr/share/locale/nl/LC_MESSAGES/bash4.mo \
usr/share/locale/pl/LC_MESSAGES/bash4.mo \
usr/share/locale/hr/LC_MESSAGES/bash4.mo \
usr/share/locale/bg/LC_MESSAGES/bash4.mo \
usr/share/locale/ga/LC_MESSAGES/bash4.mo \
usr/share/locale/en@boldquot/LC_MESSAGES/bash4.mo \
usr/share/locale/es/LC_MESSAGES/bash4.mo \
usr/share/locale/fr/LC_MESSAGES/bash4.mo \
usr/share/locale/de/LC_MESSAGES/bash4.mo \
usr/share/locale/uk/LC_MESSAGES/bash4.mo \
usr/share/locale/pt_BR/LC_MESSAGES/bash4.mo \
usr/share/locale/lt/LC_MESSAGES/bash4.mo \
usr/share/locale/ru/LC_MESSAGES/bash4.mo \
usr/share/locale/sv/LC_MESSAGES/bash4.mo \
usr/share/locale/sl/LC_MESSAGES/bash4.mo \
usr/share/locale/en@quot/LC_MESSAGES/bash4.mo \
usr/share/locale/fi/LC_MESSAGES/bash4.mo \
usr/share/locale/ro/LC_MESSAGES/bash4.mo \
usr/share/locale/cs/LC_MESSAGES/bash4.mo \
usr/share/locale/hu/LC_MESSAGES/bash4.mo \
usr/share/doc/bash4/COMPAT \
usr/share/doc/bash4/RBASH \
usr/share/doc/bash4/bash.html \
usr/share/doc/bash4/NEWS \
usr/share/doc/bash4/POSIX \
usr/share/doc/bash4/CHANGES \
usr/share/doc/bash4/README \
usr/share/doc/bash4/bashref.html \
usr/share/doc/bash4/INTRO \
usr/share/doc/bash4/FAQ \
usr/bin/bash \
usr/bin/bashbug \
usr/include/bash4/command.h \
usr/include/bash4/config-bot.h \
usr/include/bash4/conftypes.h \
usr/include/bash4/syntax.h \
usr/include/bash4/variables.h \
usr/include/bash4/siglist.h \
usr/include/bash4/jobs.h \
usr/include/bash4/signames.h \
usr/include/bash4/general.h \
usr/include/bash4/alias.h \
usr/include/bash4/externs.h \
usr/include/bash4/bashintl.h \
usr/include/bash4/builtins/builtext.h \
usr/include/bash4/builtins/bashgetopt.h \
usr/include/bash4/builtins/common.h \
usr/include/bash4/builtins/getopt.h \
usr/include/bash4/bashansi.h \
usr/include/bash4/subst.h \
usr/include/bash4/make_cmd.h \
usr/include/bash4/array.h \
usr/include/bash4/arrayfunc.h \
usr/include/bash4/pathnames.h \
usr/include/bash4/builtins.h \
usr/include/bash4/shell.h \
usr/include/bash4/bashjmp.h \
usr/include/bash4/xmalloc.h \
usr/include/bash4/hashlib.h \
usr/include/bash4/unwind_prot.h \
usr/include/bash4/y.tab.h \
usr/include/bash4/assoc.h \
usr/include/bash4/config.h \
usr/include/bash4/sig.h \
usr/include/bash4/quit.h \
usr/include/bash4/include/maxpath.h \
usr/include/bash4/include/unionwait.h \
usr/include/bash4/include/stat-time.h \
usr/include/bash4/include/gettext.h \
usr/include/bash4/include/posixtime.h \
usr/include/bash4/include/posixdir.h \
usr/include/bash4/include/stdc.h \
usr/include/bash4/include/ocache.h \
usr/include/bash4/include/chartypes.h \
usr/include/bash4/include/ansi_stdlib.h \
usr/include/bash4/include/memalloc.h \
usr/include/bash4/include/posixwait.h \
usr/include/bash4/include/shmbutil.h \
usr/include/bash4/include/typemax.h \
usr/include/bash4/include/filecntl.h \
usr/include/bash4/include/systimes.h \
usr/include/bash4/include/posixstat.h \
usr/include/bash4/include/shtty.h \
usr/include/bash4/include/posixjmp.h \
usr/include/bash4/include/shmbchar.h \
usr/include/bash4/version.h \
usr/include/bash4/bashtypes.h \
usr/include/bash4/error.h \
usr/include/bash4/dispose_cmd.h \
usr/include/bash4/config-top.h \
%nil | \
tr ' ' '\n' |
cpio -p -u -d %buildroot

%files
/usr/lib64/bash/strftime
/usr/lib64/bash/tee
/usr/lib64/bash/setpgid
/usr/lib64/bash/finfo
/usr/lib64/bash/id
/usr/lib64/bash/logname
/usr/lib64/bash/truefalse
/usr/lib64/bash/mkdir
/usr/lib64/bash/head
/usr/lib64/bash/dirname
/usr/lib64/bash/mypid
/usr/lib64/bash/sync
/usr/lib64/bash/tty
/usr/lib64/bash/uname
/usr/lib64/bash/push
/usr/lib64/bash/realpath
/usr/lib64/bash/ln
/usr/lib64/bash/whoami
/usr/lib64/bash/print
/usr/lib64/bash/rmdir
/usr/lib64/bash/printenv
/usr/lib64/bash/unlink
/usr/lib64/bash/pathchk
/usr/lib64/bash/sleep
/usr/lib64/bash/basename
/usr/share/locale/eo/LC_MESSAGES/bash4.mo
/usr/share/locale/da/LC_MESSAGES/bash4.mo
/usr/share/locale/et/LC_MESSAGES/bash4.mo
/usr/share/locale/nb/LC_MESSAGES/bash4.mo
/usr/share/locale/vi/LC_MESSAGES/bash4.mo
/usr/share/locale/el/LC_MESSAGES/bash4.mo
/usr/share/locale/id/LC_MESSAGES/bash4.mo
/usr/share/locale/sr/LC_MESSAGES/bash4.mo
/usr/share/locale/ja/LC_MESSAGES/bash4.mo
/usr/share/locale/zh_TW/LC_MESSAGES/bash4.mo
/usr/share/locale/ca/LC_MESSAGES/bash4.mo
/usr/share/locale/sk/LC_MESSAGES/bash4.mo
/usr/share/locale/gl/LC_MESSAGES/bash4.mo
/usr/share/locale/tr/LC_MESSAGES/bash4.mo
/usr/share/locale/it/LC_MESSAGES/bash4.mo
/usr/share/locale/zh_CN/LC_MESSAGES/bash4.mo
/usr/share/locale/af/LC_MESSAGES/bash4.mo
/usr/share/locale/nl/LC_MESSAGES/bash4.mo
/usr/share/locale/pl/LC_MESSAGES/bash4.mo
/usr/share/locale/hr/LC_MESSAGES/bash4.mo
/usr/share/locale/bg/LC_MESSAGES/bash4.mo
/usr/share/locale/ga/LC_MESSAGES/bash4.mo
/usr/share/locale/en@boldquot/LC_MESSAGES/bash4.mo
/usr/share/locale/es/LC_MESSAGES/bash4.mo
/usr/share/locale/fr/LC_MESSAGES/bash4.mo
/usr/share/locale/de/LC_MESSAGES/bash4.mo
/usr/share/locale/uk/LC_MESSAGES/bash4.mo
/usr/share/locale/pt_BR/LC_MESSAGES/bash4.mo
/usr/share/locale/lt/LC_MESSAGES/bash4.mo
/usr/share/locale/ru/LC_MESSAGES/bash4.mo
/usr/share/locale/sv/LC_MESSAGES/bash4.mo
/usr/share/locale/sl/LC_MESSAGES/bash4.mo
/usr/share/locale/en@quot/LC_MESSAGES/bash4.mo
/usr/share/locale/fi/LC_MESSAGES/bash4.mo
/usr/share/locale/ro/LC_MESSAGES/bash4.mo
/usr/share/locale/cs/LC_MESSAGES/bash4.mo
/usr/share/locale/hu/LC_MESSAGES/bash4.mo
/usr/share/doc/bash4/COMPAT
/usr/share/doc/bash4/RBASH
/usr/share/doc/bash4/bash.html
/usr/share/doc/bash4/NEWS
/usr/share/doc/bash4/POSIX
/usr/share/doc/bash4/CHANGES
/usr/share/doc/bash4/README
/usr/share/doc/bash4/bashref.html
/usr/share/doc/bash4/INTRO
/usr/share/doc/bash4/FAQ
/usr/bin/bash
/usr/bin/bashbug

%files devel
/usr/include/bash4/command.h
/usr/include/bash4/config-bot.h
/usr/include/bash4/conftypes.h
/usr/include/bash4/syntax.h
/usr/include/bash4/variables.h
/usr/include/bash4/siglist.h
/usr/include/bash4/jobs.h
/usr/include/bash4/signames.h
/usr/include/bash4/general.h
/usr/include/bash4/alias.h
/usr/include/bash4/externs.h
/usr/include/bash4/bashintl.h
/usr/include/bash4/builtins/builtext.h
/usr/include/bash4/builtins/bashgetopt.h
/usr/include/bash4/builtins/common.h
/usr/include/bash4/builtins/getopt.h
/usr/include/bash4/bashansi.h
/usr/include/bash4/subst.h
/usr/include/bash4/make_cmd.h
/usr/include/bash4/array.h
/usr/include/bash4/arrayfunc.h
/usr/include/bash4/pathnames.h
/usr/include/bash4/builtins.h
/usr/include/bash4/shell.h
/usr/include/bash4/bashjmp.h
/usr/include/bash4/xmalloc.h
/usr/include/bash4/hashlib.h
/usr/include/bash4/unwind_prot.h
/usr/include/bash4/y.tab.h
/usr/include/bash4/assoc.h
/usr/include/bash4/config.h
/usr/include/bash4/sig.h
/usr/include/bash4/quit.h
/usr/include/bash4/include/maxpath.h
/usr/include/bash4/include/unionwait.h
/usr/include/bash4/include/stat-time.h
/usr/include/bash4/include/gettext.h
/usr/include/bash4/include/posixtime.h
/usr/include/bash4/include/posixdir.h
/usr/include/bash4/include/stdc.h
/usr/include/bash4/include/ocache.h
/usr/include/bash4/include/chartypes.h
/usr/include/bash4/include/ansi_stdlib.h
/usr/include/bash4/include/memalloc.h
/usr/include/bash4/include/posixwait.h
/usr/include/bash4/include/shmbutil.h
/usr/include/bash4/include/typemax.h
/usr/include/bash4/include/filecntl.h
/usr/include/bash4/include/systimes.h
/usr/include/bash4/include/posixstat.h
/usr/include/bash4/include/shtty.h
/usr/include/bash4/include/posixjmp.h
/usr/include/bash4/include/shmbchar.h
/usr/include/bash4/version.h
/usr/include/bash4/bashtypes.h
/usr/include/bash4/error.h
/usr/include/bash4/dispose_cmd.h
/usr/include/bash4/config-top.h
/usr/lib64/bash/Makefile.inc
/usr/lib64/pkgconfig/bash.pc
